package com.wanmait.teatrain.service;

import com.wanmait.teatrain.entity.TrainingResource;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wanmait.teatrain.utils.AjaxResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * <p>
 * 培训资源表 服务类
 * </p>
 *
 * @author wanmait
 * @since 2025-10-22
 */
public interface TrainingResourceService extends IService<TrainingResource> {
    AjaxResult insert(TrainingResource trainingResource, MultipartFile file);
    Map<String, Object> getResourceList(Integer pageNum, Integer pageSize, String resourceName);  // 新增参数
}
